<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<% 
//从sessiion中获取数据,userid
String sessionaccount = (String)session.getAttribute("account");
if(sessionaccount==null){
	//未登录
	response.sendRedirect("login-ketang.jsp");
}
%>